package xian.woniu.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrdersExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrdersExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOIdIsNull() {
            addCriterion("o_id is null");
            return (Criteria) this;
        }

        public Criteria andOIdIsNotNull() {
            addCriterion("o_id is not null");
            return (Criteria) this;
        }

        public Criteria andOIdEqualTo(Integer value) {
            addCriterion("o_id =", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdNotEqualTo(Integer value) {
            addCriterion("o_id <>", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdGreaterThan(Integer value) {
            addCriterion("o_id >", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("o_id >=", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdLessThan(Integer value) {
            addCriterion("o_id <", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdLessThanOrEqualTo(Integer value) {
            addCriterion("o_id <=", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdIn(List<Integer> values) {
            addCriterion("o_id in", values, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdNotIn(List<Integer> values) {
            addCriterion("o_id not in", values, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdBetween(Integer value1, Integer value2) {
            addCriterion("o_id between", value1, value2, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdNotBetween(Integer value1, Integer value2) {
            addCriterion("o_id not between", value1, value2, "oId");
            return (Criteria) this;
        }

        public Criteria andUIdIsNull() {
            addCriterion("u_id is null");
            return (Criteria) this;
        }

        public Criteria andUIdIsNotNull() {
            addCriterion("u_id is not null");
            return (Criteria) this;
        }

        public Criteria andUIdEqualTo(Integer value) {
            addCriterion("u_id =", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotEqualTo(Integer value) {
            addCriterion("u_id <>", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThan(Integer value) {
            addCriterion("u_id >", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("u_id >=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThan(Integer value) {
            addCriterion("u_id <", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThanOrEqualTo(Integer value) {
            addCriterion("u_id <=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdIn(List<Integer> values) {
            addCriterion("u_id in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotIn(List<Integer> values) {
            addCriterion("u_id not in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdBetween(Integer value1, Integer value2) {
            addCriterion("u_id between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotBetween(Integer value1, Integer value2) {
            addCriterion("u_id not between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdIsNull() {
            addCriterion("chewei_id is null");
            return (Criteria) this;
        }

        public Criteria andCheweiIdIsNotNull() {
            addCriterion("chewei_id is not null");
            return (Criteria) this;
        }

        public Criteria andCheweiIdEqualTo(Integer value) {
            addCriterion("chewei_id =", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdNotEqualTo(Integer value) {
            addCriterion("chewei_id <>", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdGreaterThan(Integer value) {
            addCriterion("chewei_id >", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("chewei_id >=", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdLessThan(Integer value) {
            addCriterion("chewei_id <", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdLessThanOrEqualTo(Integer value) {
            addCriterion("chewei_id <=", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdIn(List<Integer> values) {
            addCriterion("chewei_id in", values, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdNotIn(List<Integer> values) {
            addCriterion("chewei_id not in", values, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdBetween(Integer value1, Integer value2) {
            addCriterion("chewei_id between", value1, value2, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdNotBetween(Integer value1, Integer value2) {
            addCriterion("chewei_id not between", value1, value2, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andONameIsNull() {
            addCriterion("o_name is null");
            return (Criteria) this;
        }

        public Criteria andONameIsNotNull() {
            addCriterion("o_name is not null");
            return (Criteria) this;
        }

        public Criteria andONameEqualTo(String value) {
            addCriterion("o_name =", value, "oName");
            return (Criteria) this;
        }

        public Criteria andONameNotEqualTo(String value) {
            addCriterion("o_name <>", value, "oName");
            return (Criteria) this;
        }

        public Criteria andONameGreaterThan(String value) {
            addCriterion("o_name >", value, "oName");
            return (Criteria) this;
        }

        public Criteria andONameGreaterThanOrEqualTo(String value) {
            addCriterion("o_name >=", value, "oName");
            return (Criteria) this;
        }

        public Criteria andONameLessThan(String value) {
            addCriterion("o_name <", value, "oName");
            return (Criteria) this;
        }

        public Criteria andONameLessThanOrEqualTo(String value) {
            addCriterion("o_name <=", value, "oName");
            return (Criteria) this;
        }

        public Criteria andONameLike(String value) {
            addCriterion("o_name like", value, "oName");
            return (Criteria) this;
        }

        public Criteria andONameNotLike(String value) {
            addCriterion("o_name not like", value, "oName");
            return (Criteria) this;
        }

        public Criteria andONameIn(List<String> values) {
            addCriterion("o_name in", values, "oName");
            return (Criteria) this;
        }

        public Criteria andONameNotIn(List<String> values) {
            addCriterion("o_name not in", values, "oName");
            return (Criteria) this;
        }

        public Criteria andONameBetween(String value1, String value2) {
            addCriterion("o_name between", value1, value2, "oName");
            return (Criteria) this;
        }

        public Criteria andONameNotBetween(String value1, String value2) {
            addCriterion("o_name not between", value1, value2, "oName");
            return (Criteria) this;
        }

        public Criteria andOTimestartIsNull() {
            addCriterion("o_timeStart is null");
            return (Criteria) this;
        }

        public Criteria andOTimestartIsNotNull() {
            addCriterion("o_timeStart is not null");
            return (Criteria) this;
        }

        public Criteria andOTimestartEqualTo(Date value) {
            addCriterion("o_timeStart =", value, "oTimestart");
            return (Criteria) this;
        }

        public Criteria andOTimestartNotEqualTo(Date value) {
            addCriterion("o_timeStart <>", value, "oTimestart");
            return (Criteria) this;
        }

        public Criteria andOTimestartGreaterThan(Date value) {
            addCriterion("o_timeStart >", value, "oTimestart");
            return (Criteria) this;
        }

        public Criteria andOTimestartGreaterThanOrEqualTo(Date value) {
            addCriterion("o_timeStart >=", value, "oTimestart");
            return (Criteria) this;
        }

        public Criteria andOTimestartLessThan(Date value) {
            addCriterion("o_timeStart <", value, "oTimestart");
            return (Criteria) this;
        }

        public Criteria andOTimestartLessThanOrEqualTo(Date value) {
            addCriterion("o_timeStart <=", value, "oTimestart");
            return (Criteria) this;
        }

        public Criteria andOTimestartIn(List<Date> values) {
            addCriterion("o_timeStart in", values, "oTimestart");
            return (Criteria) this;
        }

        public Criteria andOTimestartNotIn(List<Date> values) {
            addCriterion("o_timeStart not in", values, "oTimestart");
            return (Criteria) this;
        }

        public Criteria andOTimestartBetween(Date value1, Date value2) {
            addCriterion("o_timeStart between", value1, value2, "oTimestart");
            return (Criteria) this;
        }

        public Criteria andOTimestartNotBetween(Date value1, Date value2) {
            addCriterion("o_timeStart not between", value1, value2, "oTimestart");
            return (Criteria) this;
        }

        public Criteria andOTimeendIsNull() {
            addCriterion("o_timeEnd is null");
            return (Criteria) this;
        }

        public Criteria andOTimeendIsNotNull() {
            addCriterion("o_timeEnd is not null");
            return (Criteria) this;
        }

        public Criteria andOTimeendEqualTo(Date value) {
            addCriterion("o_timeEnd =", value, "oTimeend");
            return (Criteria) this;
        }

        public Criteria andOTimeendNotEqualTo(Date value) {
            addCriterion("o_timeEnd <>", value, "oTimeend");
            return (Criteria) this;
        }

        public Criteria andOTimeendGreaterThan(Date value) {
            addCriterion("o_timeEnd >", value, "oTimeend");
            return (Criteria) this;
        }

        public Criteria andOTimeendGreaterThanOrEqualTo(Date value) {
            addCriterion("o_timeEnd >=", value, "oTimeend");
            return (Criteria) this;
        }

        public Criteria andOTimeendLessThan(Date value) {
            addCriterion("o_timeEnd <", value, "oTimeend");
            return (Criteria) this;
        }

        public Criteria andOTimeendLessThanOrEqualTo(Date value) {
            addCriterion("o_timeEnd <=", value, "oTimeend");
            return (Criteria) this;
        }

        public Criteria andOTimeendIn(List<Date> values) {
            addCriterion("o_timeEnd in", values, "oTimeend");
            return (Criteria) this;
        }

        public Criteria andOTimeendNotIn(List<Date> values) {
            addCriterion("o_timeEnd not in", values, "oTimeend");
            return (Criteria) this;
        }

        public Criteria andOTimeendBetween(Date value1, Date value2) {
            addCriterion("o_timeEnd between", value1, value2, "oTimeend");
            return (Criteria) this;
        }

        public Criteria andOTimeendNotBetween(Date value1, Date value2) {
            addCriterion("o_timeEnd not between", value1, value2, "oTimeend");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeIsNull() {
            addCriterion("o_totalTime is null");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeIsNotNull() {
            addCriterion("o_totalTime is not null");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeEqualTo(Date value) {
            addCriterion("o_totalTime =", value, "oTotaltime");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeNotEqualTo(Date value) {
            addCriterion("o_totalTime <>", value, "oTotaltime");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeGreaterThan(Date value) {
            addCriterion("o_totalTime >", value, "oTotaltime");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeGreaterThanOrEqualTo(Date value) {
            addCriterion("o_totalTime >=", value, "oTotaltime");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeLessThan(Date value) {
            addCriterion("o_totalTime <", value, "oTotaltime");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeLessThanOrEqualTo(Date value) {
            addCriterion("o_totalTime <=", value, "oTotaltime");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeIn(List<Date> values) {
            addCriterion("o_totalTime in", values, "oTotaltime");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeNotIn(List<Date> values) {
            addCriterion("o_totalTime not in", values, "oTotaltime");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeBetween(Date value1, Date value2) {
            addCriterion("o_totalTime between", value1, value2, "oTotaltime");
            return (Criteria) this;
        }

        public Criteria andOTotaltimeNotBetween(Date value1, Date value2) {
            addCriterion("o_totalTime not between", value1, value2, "oTotaltime");
            return (Criteria) this;
        }

        public Criteria andOConsumptionIsNull() {
            addCriterion("o_consumption is null");
            return (Criteria) this;
        }

        public Criteria andOConsumptionIsNotNull() {
            addCriterion("o_consumption is not null");
            return (Criteria) this;
        }

        public Criteria andOConsumptionEqualTo(BigDecimal value) {
            addCriterion("o_consumption =", value, "oConsumption");
            return (Criteria) this;
        }

        public Criteria andOConsumptionNotEqualTo(BigDecimal value) {
            addCriterion("o_consumption <>", value, "oConsumption");
            return (Criteria) this;
        }

        public Criteria andOConsumptionGreaterThan(BigDecimal value) {
            addCriterion("o_consumption >", value, "oConsumption");
            return (Criteria) this;
        }

        public Criteria andOConsumptionGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("o_consumption >=", value, "oConsumption");
            return (Criteria) this;
        }

        public Criteria andOConsumptionLessThan(BigDecimal value) {
            addCriterion("o_consumption <", value, "oConsumption");
            return (Criteria) this;
        }

        public Criteria andOConsumptionLessThanOrEqualTo(BigDecimal value) {
            addCriterion("o_consumption <=", value, "oConsumption");
            return (Criteria) this;
        }

        public Criteria andOConsumptionIn(List<BigDecimal> values) {
            addCriterion("o_consumption in", values, "oConsumption");
            return (Criteria) this;
        }

        public Criteria andOConsumptionNotIn(List<BigDecimal> values) {
            addCriterion("o_consumption not in", values, "oConsumption");
            return (Criteria) this;
        }

        public Criteria andOConsumptionBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("o_consumption between", value1, value2, "oConsumption");
            return (Criteria) this;
        }

        public Criteria andOConsumptionNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("o_consumption not between", value1, value2, "oConsumption");
            return (Criteria) this;
        }

        public Criteria andOStateIsNull() {
            addCriterion("o_state is null");
            return (Criteria) this;
        }

        public Criteria andOStateIsNotNull() {
            addCriterion("o_state is not null");
            return (Criteria) this;
        }

        public Criteria andOStateEqualTo(Integer value) {
            addCriterion("o_state =", value, "oState");
            return (Criteria) this;
        }

        public Criteria andOStateNotEqualTo(Integer value) {
            addCriterion("o_state <>", value, "oState");
            return (Criteria) this;
        }

        public Criteria andOStateGreaterThan(Integer value) {
            addCriterion("o_state >", value, "oState");
            return (Criteria) this;
        }

        public Criteria andOStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("o_state >=", value, "oState");
            return (Criteria) this;
        }

        public Criteria andOStateLessThan(Integer value) {
            addCriterion("o_state <", value, "oState");
            return (Criteria) this;
        }

        public Criteria andOStateLessThanOrEqualTo(Integer value) {
            addCriterion("o_state <=", value, "oState");
            return (Criteria) this;
        }

        public Criteria andOStateIn(List<Integer> values) {
            addCriterion("o_state in", values, "oState");
            return (Criteria) this;
        }

        public Criteria andOStateNotIn(List<Integer> values) {
            addCriterion("o_state not in", values, "oState");
            return (Criteria) this;
        }

        public Criteria andOStateBetween(Integer value1, Integer value2) {
            addCriterion("o_state between", value1, value2, "oState");
            return (Criteria) this;
        }

        public Criteria andOStateNotBetween(Integer value1, Integer value2) {
            addCriterion("o_state not between", value1, value2, "oState");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1IsNull() {
            addCriterion("o_beiyong1 is null");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1IsNotNull() {
            addCriterion("o_beiyong1 is not null");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1EqualTo(String value) {
            addCriterion("o_beiyong1 =", value, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1NotEqualTo(String value) {
            addCriterion("o_beiyong1 <>", value, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1GreaterThan(String value) {
            addCriterion("o_beiyong1 >", value, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1GreaterThanOrEqualTo(String value) {
            addCriterion("o_beiyong1 >=", value, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1LessThan(String value) {
            addCriterion("o_beiyong1 <", value, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1LessThanOrEqualTo(String value) {
            addCriterion("o_beiyong1 <=", value, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1Like(String value) {
            addCriterion("o_beiyong1 like", value, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1NotLike(String value) {
            addCriterion("o_beiyong1 not like", value, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1In(List<String> values) {
            addCriterion("o_beiyong1 in", values, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1NotIn(List<String> values) {
            addCriterion("o_beiyong1 not in", values, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1Between(String value1, String value2) {
            addCriterion("o_beiyong1 between", value1, value2, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong1NotBetween(String value1, String value2) {
            addCriterion("o_beiyong1 not between", value1, value2, "oBeiyong1");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2IsNull() {
            addCriterion("o_beiyong2 is null");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2IsNotNull() {
            addCriterion("o_beiyong2 is not null");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2EqualTo(String value) {
            addCriterion("o_beiyong2 =", value, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2NotEqualTo(String value) {
            addCriterion("o_beiyong2 <>", value, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2GreaterThan(String value) {
            addCriterion("o_beiyong2 >", value, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2GreaterThanOrEqualTo(String value) {
            addCriterion("o_beiyong2 >=", value, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2LessThan(String value) {
            addCriterion("o_beiyong2 <", value, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2LessThanOrEqualTo(String value) {
            addCriterion("o_beiyong2 <=", value, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2Like(String value) {
            addCriterion("o_beiyong2 like", value, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2NotLike(String value) {
            addCriterion("o_beiyong2 not like", value, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2In(List<String> values) {
            addCriterion("o_beiyong2 in", values, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2NotIn(List<String> values) {
            addCriterion("o_beiyong2 not in", values, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2Between(String value1, String value2) {
            addCriterion("o_beiyong2 between", value1, value2, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong2NotBetween(String value1, String value2) {
            addCriterion("o_beiyong2 not between", value1, value2, "oBeiyong2");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3IsNull() {
            addCriterion("o_beiyong3 is null");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3IsNotNull() {
            addCriterion("o_beiyong3 is not null");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3EqualTo(String value) {
            addCriterion("o_beiyong3 =", value, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3NotEqualTo(String value) {
            addCriterion("o_beiyong3 <>", value, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3GreaterThan(String value) {
            addCriterion("o_beiyong3 >", value, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3GreaterThanOrEqualTo(String value) {
            addCriterion("o_beiyong3 >=", value, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3LessThan(String value) {
            addCriterion("o_beiyong3 <", value, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3LessThanOrEqualTo(String value) {
            addCriterion("o_beiyong3 <=", value, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3Like(String value) {
            addCriterion("o_beiyong3 like", value, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3NotLike(String value) {
            addCriterion("o_beiyong3 not like", value, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3In(List<String> values) {
            addCriterion("o_beiyong3 in", values, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3NotIn(List<String> values) {
            addCriterion("o_beiyong3 not in", values, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3Between(String value1, String value2) {
            addCriterion("o_beiyong3 between", value1, value2, "oBeiyong3");
            return (Criteria) this;
        }

        public Criteria andOBeiyong3NotBetween(String value1, String value2) {
            addCriterion("o_beiyong3 not between", value1, value2, "oBeiyong3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}